import type { UploadData } from "@/types/common"
import { request } from "@/utils/reuqest"

/**
 * 上传合同
 * @returns
 */
export const uploadAPI = (data: FormData) =>{
  return request<UploadData>('/upload', 'POST', data)
}